import request from '@/util/index.js'
export const login = (adminname, password) => {
  return request({
    url: '/admin/admin/login',
    method: 'post',
    data: {
      adminname,
      password,
    },
  })
}
export const getUserList = () => {
  return request({
    url: '/admin/admin/list',
    method: 'get',
  })
}
